<?php
/**
 * Created by PhpStorm.
 * User: DELL
 * Date: 2021/3/8
 * Time: 18:49
 */

namespace App\Api\V1\Controllers;


class GoodsTypeController extends BaseController
{
    /**
     * 方法路由器
     * @access protected
     * @return void
     */

    protected static function initMethod()
    {
        self::$route = [
            // 添加一个商品分类
            'add.goods.type.item'            => ['addGoodsTypeItem'],
            // 编辑一个商品分类
            'set.goods.type.item'            => ['setGoodsTypeItem'],
            //删除一个商品分类
            'del.goods.type.item'            => ['delGoodsTypeItem'],
            // 获取分类列表
            'get.goods.type.list'            => ['getGoodsTypeList'],
            // 批量删除分类
            'del.goods.type.list'            => ['delGoodsTypeList'],
        ];
    }

}